package com.orangeforms.webadmin.app.model;



import com.baomidou.mybatisplus.annotation.*;
import com.orangeforms.common.core.base.mapper.BaseModelMapper;
import com.orangeforms.webadmin.app.vo.MdmDataDepatmentVo;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.Date;

/**
 * 部门主数据(MdmDataDepatment)表实体类
 *
 * @author makejava
 * @since 2022-09-05 15:09:43
 */
@ApiModel("部门主数据")
@Data
@TableName(value = "mdm_data_depatment")
public class MdmDataDepatment {
     /**
     * 部门编码
     */   
    @ApiModelProperty(value = "部门编码")
    @TableField(value = "DEPT_CODE")
    private String deptCode;
     /**
     * 部门名称
     */   
    @ApiModelProperty(value = "部门名称")
    @TableField(value = "DEPT_NAME")
    private String deptName;
     /**
     * 上级编码
     */   
    @ApiModelProperty(value = "上级编码")
    @TableField(value = "PARENT_CODE")
    private String parentCode;
     /**
     * 上级名称
     */   
    @ApiModelProperty(value = "上级名称")
    @TableField(value = "PARENT_NAME")
    private String parentName;
     /**
     * 部门状态
     */   
    @ApiModelProperty(value = "部门状态")
    @TableField(value = "DEPT_STATUS")
    private String deptStatus;
     /**
     * 显示顺序
     */   
    @ApiModelProperty(value = "显示顺序")
    @TableField(value = "DISPLAY_ORDER")
    private Integer displayOrder;
     /**
     * 原部门编码
     */   
    @ApiModelProperty(value = "原部门编码")
    @TableField(value = "O_DEPT_CODE")
    private String oDeptCode;
     /**
     * 数据更新标识,1-新增,2-更新,3-删除
     */   
    @ApiModelProperty(value = "数据更新标识,1-新增,2-更新,3-删除")
    @TableField(value = "MODIFY_FLAG")
    private Integer modifyFlag;
     /**
     * 用于区分该批次数据的唯一编号
     */   
    @ApiModelProperty(value = "用于区分该批次数据的唯一编号")
    @TableField(value = "BUSI_NUM")
    private String busiNum;
     /**
     * 所属机构编码
     */   
    @ApiModelProperty(value = "所属机构编码")
    @TableField(value = "ORG_CODE")
    private String orgCode;
     /**
     * 1-推送 0-不推送
     */   
    @ApiModelProperty(value = "1-推送 0-不推送")
    @TableField(value = "PUBLISH_FLAG")
    private Integer publishFlag;
     /**
     * 部门负责人
     */   
    @ApiModelProperty(value = "部门负责人")
    @TableField(value = "DEPT_HEAD")
    private String deptHead;
     /**
     * 分管领导
     */   
    @ApiModelProperty(value = "分管领导")
    @TableField(value = "DIRECT_DEADER")
    private String directDeader;
    
    @Mapper
    public interface MdmDataDepatmentModelMapper extends BaseModelMapper<MdmDataDepatmentVo, MdmDataDepatment> {
    }
    public static final MdmDataDepatmentModelMapper INSTANCE = Mappers.getMapper(MdmDataDepatmentModelMapper.class);
}

